*:where(:not(img, svg):not(svg *)) {
  all: unset;
  display: revert;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  cursor: pointer;
}

ul {
  list-style: none;
}

svg {
  fill: currentColor;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  margin: 0;
  padding: 0;
  color: inherit;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: normal;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

input::-moz-focus-inner,
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

html {
  --secondary: #1c1c1e;
  --l1: #FFA600;
  --l2: #ff9027;
  --transition-speed: 250ms;
  --header-height: 80px;
}

body {
  background-color: var(--secondary);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Roboto",
    "Oxygen",
    "Ubuntu",
    "Cantarell",
    "Fira Sans",
    "Droid Sans",
    "Helvetica Neue",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #C0C0C0;
}

.header {
  width: 100%;
  height: var(--header-height);
  display: grid;
  grid-template: 1fr / 1fr auto 1fr;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  padding: 0 0 0 24px;
}

.header--mouve {
  background-color: rgb(28 28 30 / 60%);
  backdrop-filter: saturate(180%) blur(24px); 
}

.header__logo-container {
  display: flex;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header__nav__list {
  display: flex;
  gap: 24px;
}

.header__nav__list__item__link {
  color: #FFF;
  text-transform: uppercase;
  padding: 12px 24px;
  display: flex;
  cursor: pointer;
}

.header__nav__list__item__link:hover {
  text-decoration: overline;
}

.clients-wrapper {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 160px;
  z-index: 3;
}

.services-wrapper {
  width: 100%;
  position: relative;
  display: grid;
  grid-template: 1fr / repeat(2, 1fr);
  border-top: 2px solid #424242;
}

.service-img-holder {
  width: 100%;
  top: 0;
  position: sticky;
  height: 100vh;
}

.out-image {
  width: 100%;
  height: 100vh;
}

.service-list {
  width: 100%;
}

.section {
  width: 100%;
  min-height: 100vh;
  padding: 48px 96px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  border-bottom: 2px solid #424242;
}

.section_title {
  font-size: 64px;
  line-height: 1;
  font-weight: 1000;
  color: #C0C0C0;
}

.section_body {
  font-size: 32px;
  line-height: 48px;
}

.section_link {
  margin-top: 32px;
  font-size: 32px;
  font-weight: 600;
  line-height: 48px;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(233.43deg, var(--l1) 8.06%, var(--l2) 92.72%);
  color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.section_link svg {
  transform: rotate(0);
  transform-origin: center center;
  transition: var(--transition-speed) cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.section_link:hover svg {
  transform: rotate(45deg);
}

.section_body--small {
  font-size: 20px;
  line-height: 30px;
}

.dropdown {
  width: 100%;
  height: calc(100vh - var(--header-height));
  position: absolute;
  top: var(--header-height);
  left: 0;
  background-color: var(--secondary);
  opacity: 0;
  visibility: hidden;
}

.dropdown--active {
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
}

.drop-content {
  width: 100%;
  display: grid;
  grid-template: repeat(4, 1fr) / repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
  max-width: 1512px;
  margin: 0 auto;
}

.menu-service {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: saturate(180%) blur(24px);
  color: rgb(255 255 255 / 75%);
  border-radius: 20px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 8px;
  transition: background-color 150ms ease;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.8);
}

.header__nav__list__item__link--services--active {
  text-decoration: overline;
}

.dropdown--active .menu-service {
  animation: showMen 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.dropdown--active .menu-service:nth-child(1) { animation-delay: 25ms; }
.dropdown--active .menu-service:nth-child(2) { animation-delay: 50ms; }
.dropdown--active .menu-service:nth-child(3) { animation-delay: 75ms; }
.dropdown--active .menu-service:nth-child(4) { animation-delay: 100ms; }
.dropdown--active .menu-service:nth-child(5) { animation-delay: 125ms; }
.dropdown--active .menu-service:nth-child(6) { animation-delay: 150ms; }
.dropdown--active .menu-service:nth-child(7) { animation-delay: 175ms; }
.dropdown--active .menu-service:nth-child(8) { animation-delay: 200ms; }
.dropdown--active .menu-service:nth-child(9) { animation-delay: 225ms; }
.dropdown--active .menu-service:nth-child(10) { animation-delay: 250ms; }
.dropdown--active .menu-service:nth-child(11) { animation-delay: 275ms; }
.dropdown--active .menu-service:nth-child(12) { animation-delay: 300ms; }

@keyframes showMen {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.menu-service:hover {
  background-color: #C0C0C0;
}

.menu-service_title {
  font-size: 18px;
  font-weight: 600;
  color: #FFF;
  transition: color 150ms ease;
}

.menu-service_body {
  font-size: 15px;
  font-weight: 400;
  transition: color 150ms ease;
}

.menu-service:hover .menu-service_title {
  color: #0A0A0A;
}

.menu-service:hover .menu-service_body {
  color: #424242;
}

.footer {
  width: 100%;
  background-color: #171718;
  padding: 72px 24px;
}

.footer__wrapper {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

.footer_content {
  width: 100%;
  gap: 24px;
  display: grid;
  grid-template: 1fr / repeat(4, 1fr);
}

.footer_nav__list li {
  padding-bottom: 12px;
}

.footer a {
  color: #C0C0C0;
}

.footer a:hover {
  text-decoration: underline;
}

.footer_logo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer_logo img {
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.65;
}

.galerie {
  width: 100%;
  padding: 80px 24px 72px;
}

.galerie_wrapper {
  width: 100%;
  columns: 300px;
  column-gap: 24px;
}

.galerie img {
  width: 100%;
  margin-bottom: 24px;
  border-radius: 8px;
}

.galerie_more {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
}

.galerie_link {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: #FFF;
  border: 1px solid #FFF;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0 20px;
  cursor: pointer;
  transition: all 200ms ease;
  gap: 8px;
}

.galerie_link:hover {
  background-color: #FFF;
  color: #1C1C1E;
}

.team,
.service-page {
  width: 100%;
  padding: 144px 24px;
}

.service-page {
  padding: 144px 24px 0;
}

.service_hero {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.service_hero_title {
  font-size: 48px;
  font-weight: 700;
  color: #FFF;
  max-width: 40ch;
  text-align: center;
}

.service_hero_body {
  font-size: 24px;
  color: #C0C0C0;
  max-width: 55ch;
  text-align: center;
}

.team_founders {
  width: 100%;
  padding-top: 72px;
  padding-bottom: 24px;
  max-width: 1024px;
  margin: 0 auto;
  display: grid;
  grid-template: 1fr / repeat(2, 1fr);
  gap: 24px;
}

.founder_wrapper {
  width: 100%;
  background-color: #313131;
  border-radius: 6px;
  padding: 4px;
}

.founder_img,
.member_img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 2px;
  overflow: hidden;
}

.founder_img img,
.member_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder_info,
.member_info {
  width: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.founder_name {
  font-size: 24px;
  font-weight: 600;
  color: #C0C0C0;
}

.founder_position {
  font-size: 16px;
}

.team_members {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  display: grid;
  grid-template: 1fr / repeat(5, 1fr);
  gap: 24px;
}

.member_wrapper {
  width: 100%;
  background-color: #313131;
  border-radius: 6px;
  padding: 4px;
}

.member_name {
  font-size: 16px;
  font-weight: 600;
}

.member_position {
  font-size: 13px;
}

.menu-button,
.dropdow-mobile {
  display: none;
}

.no-scroll {
  overflow: hidden;
}

.dropdown-mobile {
  display: none;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.img--slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.img--slider--active {
  opacity: 1;
}

.main-body_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section_mobile_img {
  display: none;
}

@media screen and (max-width: 1024px) {
  .menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .entrance-img, .slider, .service-img-holder {
    display: none;
  }

  .dropdown-mobile {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--secondary);
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  
  .dropdown-mobile.active {
    left: 0;
  }
  
  .mobile-menu-content {
    padding: 20px;
  }
  
  .mobile-menu-header {
    width: 100%;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }
  
  .mobile-menu-arrow {
    transition: transform 0.3s ease;
  }
  
  .mobile-menu-header.active .mobile-menu-arrow {
    transform: rotate(180deg);
  }
  
  .mobile-menu-subitems {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .mobile-menu-subitems.active {
    max-height: 1000px;
  }
  
  .mobile-subitem {
    display: block;
    padding: 12px 0 12px 15px;
  }
  
  .mobile-subitem_title {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
  }
  
  .mobile-subitem_body {
    display: block;
    font-size: 14px;
  }
  
  .mobile-menu-link {
    display: block;
    padding: 15px 0;
  }
  
  .mobile-menu-contacts {
    margin-top: 20px;
    padding-top: 20px;
  }

  .mobile-menu-link--instagram {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    margin-bottom: 8px;
    color: #FFF;
    font-weight: 600;
  }
  
  .mobile-menu-contact {
    padding: 10px 0;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    background: #25D366;
    color: #FFF;
    margin-bottom: 8px;
    font-weight: 600;
  }
  
  /* Overlay pour le menu mobile */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .header {
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header__nav {
    display: none;
  }

  .clients-wrapper {
    padding: 48px 24px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: unset;
    gap: 48px;
  }

  .services-wrapper {
    grid-template: 1fr / 1fr;
  }

  .section {
    padding: 0;
    min-height: unset;
  }

  .section_text {
    padding: 24px 24px 48px;
  }

  .section_mobile_img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #171718;
    display: block;
  }

  .section_mobile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .section_title {
    font-size: 48px;
  }

  .section_body {
    font-size: 24px;
    line-height: 36px;
  }

  .section_body--small {
    font-size: 18px;
    line-height: 27px;
  }

  .footer {
    padding: 48px 24px;
  }

  .footer_content {
    grid-template: 1fr / repeat(2, 1fr);
  }

  .galerie_wrapper {
    columns: 200px;
  }

  .galerie_more {
    padding-top: 24px;
  }

  .team,
  .service-page {
    padding: 96px 24px;
  }

  .service_hero_title {
    font-size: 36px;
  }

  .service_hero_body {
    font-size: 20px;
  }

  .team_founders {
    padding-top: 48px;
  }

  .team_members {
    grid-template: 1fr / repeat(3, 1fr);
  }
}

/* Style de la modale */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.75);
}

.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border-radius: 8px;
  width: calc(100% - 40px);
  max-width: 600px;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.modal-content > p {
  color: #1C1C1E;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.modal-btn {
  padding: 12px 16px;
  border-radius: 4px;
  text-decoration: none;
  color: #007AFF;
  font-weight: bold;
}

.call-btn {
  border-bottom: 2px solid #D8D8D8;
}


.modal-btn:hover {
  opacity: 0.9;
}

.service_hero_btns {
  display: flex;
  gap: 16px;
}

.service_hero_btn {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 24px 0 20px;
  border-radius: 4px;
  text-decoration: none;
  color: #FFF;
  font-weight: bold;
  border: 2px solid #FFF;
}

.service_hero_btn:hover {
  background-color: #FFF;
  color: #1C1C1E;
}

.contact {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 144px 24px 72px;
  display: grid;
  grid-template: auto / repeat(2, 1fr);
  gap: 24px;
}

.contact__text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
}

.contact__text .service_hero_title,
.contact__text .service_hero_body {
  text-align: left;
}

.contact__text .service_hero_body {
  font-size: 20px;
  line-height: 30px;
}

.contact_actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ctc_act {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.ctc_act a {
  font-size: 20px;
  font-weight: 600;
  color: #FFF;
  text-decoration: none;
  white-space: nowrap;
}

.ctc_act a:hover {
  text-decoration: underline;
}

.ctc_act_vsl {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #FF9027;
  color: #FFF;
}

.contact_box {
  width: 100%;
  background-color: #232323;
  border-radius: 16px;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 12px;
  column-gap: 24px;
}

.group_field {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.contact_box label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #FFF;
  margin-bottom: 6px;
}

.input_field {
  width: 100%;
  background-color: #313131;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 17px;
}

input.input_field {
  height: 44px;
}

.group_field--area {
  grid-column: 1 / -1;
}

.input_field:focus {
  outline: none;
  border: 2px solid #FFA600;
  background-color: #FFF;
  color: #1C1C1E;
}

.submit_btn {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background-color: #FFA600;
  color: #FFF;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.submit_btn:hover {
  background-color: #FF9027;
}

.note {
  font-size: 14px;
  color: #C0C0C0;
}

@media screen and (max-width: 1024px) {
  .contact {
    grid-template: auto / 1fr;
  }
  .contact_box {
    grid-template-columns: 1fr;
  }
}

.alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 100%;
  max-width: 400px;
  text-align: center;
  background-color: #FFF;
  color: #1C1C1E;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  border-radius: 8px;
  padding: 16px;
  border-radius: 8px;
  z-index: 1000;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  
}